Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle inputs and outputs in correct order #17

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

martijnbastiaan
Copy link
Member

@martijnbastiaan martijnbastiaan commented Mar 4, 2024

Eleminates the need for prepending singals with dummy elements

Fixes #1

TODO after merging:

  • Open issue w.r.t. parallel tests

The old `mealy'` was too strict in its input. By wrapping `IntMap` in a
`newtype` we can define an `NFDataX` instance for it, allowing the use of
`clash-prelude`'s `mealy`.
@martijnbastiaan martijnbastiaan force-pushed the remove-simulation-hack branch 2 times, most recently from f797bbf to 9e480e0 Compare March 5, 2024 08:28
clash-vexriscv-sim/src/Utils/Storage.hs Outdated Show resolved Hide resolved
clash-vexriscv/src/VexRiscv.hs Outdated Show resolved Hide resolved
clash-vexriscv/src/VexRiscv.hs Outdated Show resolved Hide resolved
clash-vexriscv/src/VexRiscv.hs Outdated Show resolved Hide resolved
clash-vexriscv/src/VexRiscv.hs Outdated Show resolved Hide resolved
clash-vexriscv/src/VexRiscv.hs Outdated Show resolved Hide resolved
Eleminates the need for prepending singals with dummy elements

Fixes #1
@martijnbastiaan martijnbastiaan force-pushed the remove-simulation-hack branch from 4236d7f to 14620c8 Compare March 5, 2024 14:22
@martijnbastiaan martijnbastiaan merged commit 6a0805f into main Mar 5, 2024
7 checks passed
@martijnbastiaan martijnbastiaan deleted the remove-simulation-hack branch March 5, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FFI Evaluation order and dealing with undefined values
2 participants